package com.example.mybatisplus.web.controller;

import com.example.mybatisplus.model.domain.WhitelistSetting;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.example.mybatisplus.common.JsonResponse;
import com.example.mybatisplus.service.OrdersService;
import com.example.mybatisplus.model.domain.Orders;


/**
 *
 *  前端控制器
 *
 *
 * @author lxp
 * @since 2024-10-30
 * @version v1.0
 */
@Controller
@RequestMapping("/api/orders")
public class OrdersController {

    // 注册111
    @ResponseBody
    @PostMapping("/regist11")
    public JsonResponse regist11(@RequestBody WhitelistSetting whitelistSetting){
        return JsonResponse.success(true);
    }
}

